package com.itheima.service;

import com.itheima.bean.User;

public interface UserService {

    /**
     * 通过电话查询用户
     * @param phone
     * @return
     */
    User selectByPhone(String phone);

    /**
     * 添加新用户
     * @param user
     * @return
     */
    int insert(User user);



}
